<html>
<head>
	<meta charset="UTF-8">
	<title>用户注册</title>
</head>
<body>
	<table border="1" align="center" width="70%">
	<caption>请填写用户注册信息</caption>
	<form method="post" action="admin.php?c=user&m=adduser" enctype="multipart/form-data"> 
		<tr>
			<td>姓名</td>
			<td><input type="text" name="username"></td>
		</tr>
		<tr>
			<td>密码</td>
			<td><input type="password" name="password"></td>
		</tr>
		<tr>
			<td>性别</td>
			<td><input type="radio" name="gender" value="0" checked>男
			<input type="radio" name="gender" value="1">女</td>
		</tr>
		<tr>
			<td>生日</td>
			<td><input type="date" name="birthdate"></td>
		</tr>
		<tr>
			<td>爱好</td>
			<td>
			<input type="checkbox" name="hobby[]" value="旅游">旅游
			<input type="checkbox" name="hobby[]" value="登山">登山
			<input type="checkbox" name="hobby[]" value="上网">上网
			<input type="checkbox" name="hobby[]" value="游泳">游泳</td>
		</tr>
		<tr>
			<td>学历</td>
			<td>
			<select name="degree" id="">
		<option value="1">高中</option>
		<option value="2">大学</option>
		<option value="3">硕士</option>
		<option value="4">博士</option>
			</select></td>
		</tr>
		<tr>
			<td>自我介绍</td>
			<td><textarea name="intro" id="" cols="30" rows="10"></textarea></td>
		</tr>
		<tr>
			<td>头像</td>
			<td><input type="file" name="pic"></td>
		</tr>
		<tr>
		<td colspan="2" align="center">
			<input type="submit" value="提交">
			<input type="reset" value="重置">
		</td>
		</tr>
		 </form>
	</table>
</body>
</html>